Skip to content

Fix fields accumulating across multiple typedrecord declarations#13

Open
ausimian wants to merge 1 commit intosaleyn:mainfrom
ausimian:fix-multiple-typedrecords
Open

Fix fields accumulating across multiple typedrecord declarations#13
ausimian wants to merge 1 commit intosaleyn:mainfrom
ausimian:fix-multiple-typedrecords

Conversation

@ausimian
Copy link
Copy Markdown

Fixed a bug where module attributes (@ts_fields, @ts_types, etc.) persisted across multiple typedrecord declarations in the same module, causing fields from earlier records to incorrectly appear in later ones.

The fix adds cleanup code to delete accumulating attributes after each typedrecord definition, ensuring each record starts with a clean slate.

🤖 Generated with Claude Code

Fixed a bug where module attributes (@ts_fields, @ts_types, etc.)
persisted across multiple typedrecord declarations in the same module,
causing fields from earlier records to incorrectly appear in later ones.

The fix adds cleanup code to delete accumulating attributes after each
typedrecord definition, ensuring each record starts with a clean slate.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant